home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / 360catcher.swf / scripts / frame_8 / PlaceObject2_493_475 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-07-21  |  632 b   |  33 lines

  1. onClipEvent(enterFrame){
  2.    if(moveon == false)
  3.    {
  4.       this.gotoAndStop(1);
  5.    }
  6.    if(this._currentframe >= 2 && this._currentframe < 17)
  7.    {
  8.       this.play();
  9.    }
  10.    if(this._currentframe == 17)
  11.    {
  12.       this._y += _root.ballsp;
  13.    }
  14.    if(this._y >= 720 && moveon == true)
  15.    {
  16.       this._y = -106;
  17.       moveon = false;
  18.    }
  19.    if(this.hitTest(_root.plat1) && this.end == false)
  20.    {
  21.       play();
  22.       _root.plat1._yscale = 90;
  23.       end = true;
  24.    }
  25.    if(this._currentframe == 30)
  26.    {
  27.       this._y = 720;
  28.       end = false;
  29.       this.gotoAndStop(1);
  30.       moveon = false;
  31.    }
  32. }
  33.